package cn.credit.loan.entity;

import java.util.Date;
/**
 * 一卡通类
 * @author
 *
 */
public class Card {
	private Integer cardId;			//卡的编号                                            
	private Integer loanId;			//客户的贷款编号（外键-----引用客户贷款申请表的编号）                   
	private String cardNmuber;		//卡的账号                                            
	private String cardPwd;			//卡的密码                                            
	private Double cardMoney;		//卡里的总金额   小数点                                       
	private Double cardBalance;		//卡的余额   小数点                                         
	private Double cardDeposit;		//存款金额   小数点                                       
	private Date cardDepositDate;	//存款时间                                            
	private Double cardWithdrawal;	//取款金额   小数点                                       
	private Date cardWithdrawalDate;//取款时间                                            
	
	//引入对象
	private Loanapplication loanapplication;		//客户贷款申请对象
	
	public Integer getCardId() {
		return cardId;
	}

	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}

	public Integer getLoanId() {
		return loanId;
	}

	public void setLoanId(Integer loanId) {
		this.loanId = loanId;
	}

	public String getCardNmuber() {
		return cardNmuber;
	}

	public void setCardNmuber(String cardNmuber) {
		this.cardNmuber = cardNmuber;
	}

	public String getCardPwd() {
		return cardPwd;
	}

	public void setCardPwd(String cardPwd) {
		this.cardPwd = cardPwd;
	}

	public Double getCardMoney() {
		return cardMoney;
	}

	public void setCardMoney(Double cardMoney) {
		this.cardMoney = cardMoney;
	}

	public Double getCardBalance() {
		return cardBalance;
	}

	public void setCardBalance(Double cardBalance) {
		this.cardBalance = cardBalance;
	}

	public Double getCardDeposit() {
		return cardDeposit;
	}

	public void setCardDeposit(Double cardDeposit) {
		this.cardDeposit = cardDeposit;
	}

	public Date getCardDepositDate() {
		return cardDepositDate;
	}

	public void setCardDepositDate(Date cardDepositDate) {
		this.cardDepositDate = cardDepositDate;
	}

	public Double getCardWithdrawal() {
		return cardWithdrawal;
	}

	public void setCardWithdrawal(Double cardWithdrawal) {
		this.cardWithdrawal = cardWithdrawal;
	}

	public Date getCardWithdrawalDate() {
		return cardWithdrawalDate;
	}

	public void setCardWithdrawalDate(Date cardWithdrawalDate) {
		this.cardWithdrawalDate = cardWithdrawalDate;
	}

	public Loanapplication getLoanapplication() {
		return loanapplication;
	}

	public void setLoanapplication(Loanapplication loanapplication) {
		this.loanapplication = loanapplication;
	}

}
